#include <iostream>
#include <queue>

using namespace std;

int main()
{
    queue<int>  myQueue;
    int         myInt;
    cout << "Please enter some integers (entre 0 y fin):\n";
    do {
        cin >> myInt;
        myQueue.push(myInt);
    } while (myInt);

    cout << "myQueue contiene:";
    while (!myQueue.empty())
    {
        cout << " " << myQueue.front();
        myQueue.pop();
    }
    cout << endl;
//    cout << "Hello World!" << endl;
    return 0;
}

